<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" th:href="@{/css/common.css}">
</head>
<body>
<div class="loginForm">
    <form th:action="@{/user/login}" method="post">
       <!-- <span th:if="${param.info==1}">账号密码有误，请重新登录</span>
        <span th:if="${param.info==2}">请先登录</span>-->
        <br>
        <input type="text" name="username" placeholder="请输入账号">
        <br/>
        <input type="password" name="password" placeholder="请输入密码"/>
        <br/>
        <input type="submit" value="登录" class="btn"/>
    </form>
</div>
</body>
</html>